emacs.git
10 years ago* lisp/emacs-lisp/seq.el: Require cl-lib instead of cl-extra
Nicolas Petton [Tue, 29 Mar 2016 10:42:42 +0000 (12:42 +0200)]
* lisp/emacs-lisp/seq.el: Require cl-lib instead of cl-extra

10 years agoFix typo in network-stream-tests.el
Michael Albinus [Tue, 29 Mar 2016 07:26:05 +0000 (09:26 +0200)]
Fix typo in network-stream-tests.el

* test/lisp/net/network-stream-tests.el
(connect-to-tls-ipv6-nowait): Fix typo.

10 years agoNew function seq-sort-by in seq.el
Nicolas Petton [Tue, 29 Mar 2016 07:19:32 +0000 (09:19 +0200)]
New function seq-sort-by in seq.el

* lisp/emacs-lisp/seq.el (seq-sort-by): New function.
* test/lisp/emacs-lisp/seq-tests.el: New test for seq-sort-by.
* doc/lispref/sequences.texi: Add documentation for seq-sort-by.

10 years agoMention the `M-q' changes
Lars Magne Ingebrigtsen [Mon, 28 Mar 2016 17:11:22 +0000 (19:11 +0200)]
Mention the `M-q' changes

10 years agoHave `M-q' not mark buffers are changed when they haven't
Lars Magne Ingebrigtsen [Mon, 28 Mar 2016 17:08:33 +0000 (19:08 +0200)]
Have `M-q' not mark buffers are changed when they haven't

* lisp/textmodes/fill.el (fill-paragraph): Use `buffer-hash'
to avoid marking buffers as changed when they haven't.

10 years agoAdd a new function `buffer-hash'
Lars Magne Ingebrigtsen [Mon, 28 Mar 2016 17:07:39 +0000 (19:07 +0200)]
Add a new function `buffer-hash'

* doc/lispref/text.texi (Checksum/Hash): Document `buffer-hash'.

* src/fns.c (Fbuffer_hash): New function.
(make_digest_string): Refactored out into its own function.
(secure_hash): Use it.

* test/src/fns-tests.el (fns-tests-hash-buffer): New tests.

10 years agoRename C names to match Lisp symbols better
Paul Eggert [Sun, 27 Mar 2016 22:52:03 +0000 (15:52 -0700)]
Rename C names to match Lisp symbols better

This was inspired by commit e65c3079c65595d95749348366af9811fafff062,
which fixed a bug where the C name for a symbol disagreed with the
symbol name itself.  Fix other instances of disagreements that I found.
Although this doesn’t fix a bug, it should make code easier to follow.
The remaining disagreements are idiosyncratic: Qminus, Qplus,
Qsans__serif, Qbackquote, Qcomma, Qcomma_at, Qcomma_dot.
All uses changed.
* src/alloc.c (QAutomatic_GC): Rename from Qautomatic_gc.
* src/dbusbind.c (QCsystem): Rename from QCdbus_system_bus.
(QCsession): Rename from QCdbus_session_bus.
(QCtimeout): Rename from QCdbus_timeout.
(QCbyte): Rename from QCdbus_type_byte.
(QCboolean): Rename from QCdbus_type_boolean.
(QCint16): Rename from QCdbus_type_int16.
(QCuint16): Rename from QCdbus_type_uint16.
(QCint32): Rename from QCdbus_type_int32.
(QCuint32): Rename from QCdbus_type_uint32.
(QCint64): Rename from QCdbus_type_int64.
(QCuint64): Rename from QCdbus_type_uint64.
(QCdouble): Rename from QCdbus_type_double.
(QCstring): Rename from QCdbus_type_string.
(QCobject_path): Rename from QCdbus_type_object_path.
(QCsignature): Rename from QCdbus_type_signature.
(QCunix_fd): Rename from QCdbus_type_unix_fd.
(QCarray): Rename from QCdbus_type_array.
(QCvariant): Rename from QCdbus_type_variant.
(QCstruct): Rename from QCdbus_type_struct.
(QCdict_entry): Rename from QCdbus_type_dict_entry.
(QCserial): Rename from QCdbus_registered_serial.
(QCmethod): Rename from QCdbus_registered_method.
(QCsignal): Rename from QCdbus_registered_signal.
* src/emacs-module.c (Qinternal__module_call):
Rename from Qinternal_module_call.
* src/frame.c (Qwindow__pixel_to_total):
Rename from Qwindow_pixel_to_total.
* src/gnutls.c (QChostname): Rename from QCgnutls_bootprop_hostname.
(QCpriority): Rename from QCgnutls_bootprop_priority.
(QCtrustfiles): Rename from QCgnutls_bootprop_trustfiles.
(QCkeylist): Rename from QCgnutls_bootprop_keylist.
(QCcrlfiles): Rename from QCgnutls_bootprop_crlfiles.
(QCmin_prime_bits): Rename from QCgnutls_bootprop_min_prime_bits.
(QCloglevel): Rename from QCgnutls_bootprop_loglevel.
(QCcomplete_negotiation): Rename from QCgnutls_complete_negotiation.
(QCverify_flags): Rename from QCgnutls_bootprop_verify_flags.
(QCverify_error): Rename from QCgnutls_bootprop_verify_error.
* src/w32fns.c (Qfont_parameter): Rename from Qfont_param.
(Qgnutls): Rename from Qgnutls_dll.
(Qlibxml2): Rename from Qlibxml2_dll.
(Qzlib): Rename from Qzlib_dll.
* src/w32select.c (Qutf_16le_dos): Rename from QUNICODE.
* src/window.c (Qwindow__resize_root_window):
Rename from Qwindow_resize_root_window.
(Qwindow__resize_root_window_vertically):
Rename from Qwindow_resize_root_window_vertically.
(Qwindow__sanitize_window_sizes):
Rename from Qwindow_sanitize_window_sizes.
(Qwindow__pixel_to_total): Rename from Qwindow_pixel_to_total.
* src/xdisp.c (Qredisplay_internal_xC_functionx):
Rename from Qredisplay_internal.
* src/xfns.c (Qfont_parameter): Rename from Qfont_param.
* src/xselect.c (Q_EMACS_TMP_): Rename from QEMACS_TMP.

10 years agofunc-arity minor improvements
Paul Eggert [Sun, 27 Mar 2016 02:24:25 +0000 (19:24 -0700)]
func-arity minor improvements

* src/bytecode.c (get_byte_code_arity): Omit unnecessary
runtime test for integer argument, unless debugging.
Use EMACS_INT for Emacs integers.
* src/eval.c (Ffunc_arity): Omit unused locals.
Avoid side effects in ‘if’ expr.
(lambda_arity): Use bool for boolean, and EMACS_INT for Emacs ints.

10 years agoRestore the fix to bug#18527 from commit d6868025
John Wiegley [Sun, 27 Mar 2016 00:22:03 +0000 (17:22 -0700)]
Restore the fix to bug#18527 from commit d6868025

10 years agoSafely run window size change functions
Martin Rudalics [Sat, 26 Mar 2016 13:43:25 +0000 (14:43 +0100)]
Safely run window size change functions

* src/window.c (run_window_size_change_functions): Use
safe_call1 when running a size change function.
(grow_mini_window, shrink_mini_window): Report error when
minibuffer window cannot be resized.

10 years agoImplement 'func-arity'
Paul Pogonyshev [Sat, 26 Mar 2016 08:19:43 +0000 (11:19 +0300)]
Implement 'func-arity'

* src/eval.c (Ffunc_arity, lambda_arity): New functions.
* src/bytecode.c (get_byte_code_arity): New function.
* src/lisp.h (get_byte_code_arity): Add prototype.

* doc/lispref/functions.texi (What Is a Function): Document
'func-arity'.

* etc/NEWS: Mention 'func-arity'.

* test/src/fns-tests.el (fns-tests-func-arity): New test set.

10 years agoFix absence of c-noise-macro-name-re, etc., in languages which don't use it
Alan Mackenzie [Fri, 25 Mar 2016 18:25:08 +0000 (18:25 +0000)]
Fix absence of c-noise-macro-name-re, etc., in languages which don't use it

* lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id, c-forward-type)
(c-forward-declarator, c-forward-decl-or-cast-1, c-backward-over-enum-header)
(c-guess-basic-syntax): Check c-opt-cpp-prefix before `looking-at'
c-noise-macro-with-parens-name-re.

* lisp/progmodes/cc-fonts.el (c-complex-decl-matchers): The same as for
cc-engine.el.

* lisp/progmodes/cc-mode.el (c-basic-common-init): Add call to
`c-make-noise-macro-regexps'.
(c-mode, c++-mode, objc-mode): Remove calls to `c-make-noise-macro-regexps'.

* lisp/progmodes/cc-vars.el (c-noise-macro-with-parens-name-re)
(c-noise-macro-with-re): Initialize to "\\<\\>" rather than nil.

10 years ago(shr-insert): Respect non-breaking space in non-<pre> text
Lars Magne Ingebrigtsen [Fri, 25 Mar 2016 15:57:35 +0000 (16:57 +0100)]
(shr-insert): Respect non-breaking space in non-<pre> text

* lisp/net/shr.el (shr-insert): Respect non-breaking space in
non-<pre> text.

10 years agoparse-times-string doc string clarification
Lars Magne Ingebrigtsen [Fri, 25 Mar 2016 15:32:39 +0000 (16:32 +0100)]
parse-times-string doc string clarification

* lisp/calendar/parse-time.el (parse-time-string): Note that
we accept RFC2822 strings.

10 years agoDoc string fix
Marcin Borkowski [Fri, 25 Mar 2016 15:26:08 +0000 (16:26 +0100)]
Doc string fix

* lisp/calendar/parse-time.el (parse-time-tokenize): Clarify
doc string and clean up code.

10 years agoCleanup file notification code in Tramp
Michael Albinus [Fri, 25 Mar 2016 13:36:14 +0000 (14:36 +0100)]
Cleanup file notification code in Tramp

* lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
Make `events' a list of symbols for "inotifywait".
(tramp-sh-gvfs-monitor-dir-process-filter): Make event a list.
Call `file-notify-handle-event' for better traces.
(tramp-sh-inotifywait-process-filter): Check for expected events.
Call `file-notify-handle-event' for better traces.

10 years agoAdapt filenotify-tests.el according latest tests
Michael Albinus [Thu, 24 Mar 2016 17:34:05 +0000 (18:34 +0100)]
Adapt filenotify-tests.el according latest tests

* test/lisp/filenotify-tests.el (file-notify-test02-events)
(file-notify-test04-file-validity, file-notify-test05-dir-validity):
Remove superfluous `read-event' calls.
(file-notify-test02-events): Expect different events under MS
Windows 7 and 10.
(file-notify-test04-file-validity): Move `file-notify-valid-p'
check up.

10 years agoMerge from origin/emacs-25
Paul Eggert [Wed, 23 Mar 2016 18:27:22 +0000 (11:27 -0700)]
Merge from origin/emacs-25

ad250f2 Sync with gnulib
c0165ea Resurrect GNUS-NEWS autogeneration

# Conflicts:
# etc/GNUS-NEWS
# lisp/Makefile.in

10 years ago; Merge from origin/emacs-25
Paul Eggert [Wed, 23 Mar 2016 18:24:28 +0000 (11:24 -0700)]
; Merge from origin/emacs-25

The following commit was skipped:

1e5327c ; Backport ChangeLog.2 fixes from master

10 years agoMerge from origin/emacs-25
Paul Eggert [Wed, 23 Mar 2016 18:24:28 +0000 (11:24 -0700)]
Merge from origin/emacs-25

e643977 Make `toggle-frame-maximized' respect the dock on OS X (bug#2...
38a43f1 Fix bug in displaying header line with a box face

10 years ago* etc/NEWS: Use straight quotes.
Paul Eggert [Wed, 23 Mar 2016 18:22:57 +0000 (11:22 -0700)]
* etc/NEWS: Use straight quotes.

10 years agoSync with gnulib
Paul Eggert [Wed, 23 Mar 2016 18:17:37 +0000 (11:17 -0700)]
Sync with gnulib

This incorporates:
2016-03-22 gitlog-to-changelog: suppress ignored chatter
2016-03-21 sys_select: port to new Cygwin
* build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
* lib/sys_select.in.h: Copy from gnulib.

10 years agoSupport completion of attribute values in CSS mode
Simen Heggestøyl [Wed, 23 Mar 2016 18:03:47 +0000 (19:03 +0100)]
Support completion of attribute values in CSS mode

* lisp/textmodes/css-mode.el (css-property-alist): New defconst
holding CSS identifiers and the values they can have.
(css-property-ids): Compute dynamically from `css-property-alist'.
(css-value-class-alist): New defconst holding property value classes
and their values.
(css--property-value-cache): New variable providing a cache for
`css--property-values'.
(css--value-class-lookup): New function for computing a list of values
in a value class.
(css--property-values): New function for computing a list of possible
values for a CSS property.
(css--complete-property-value): New function for completing a property
value.
(css-completion-at-point): Add support for completing property values.
* test/lisp/textmodes/css-mode-tests.el: New file.

10 years agoResurrect GNUS-NEWS autogeneration
Paul Eggert [Wed, 23 Mar 2016 07:07:14 +0000 (00:07 -0700)]
Resurrect GNUS-NEWS autogeneration

* doc/misc/gnus-coding.texi (Gnus Maintenance Guide): Update
GNUS-NEWS section to match current file locations and procedure.
* etc/GNUS-NEWS: Regenerate by using new procedure.
* lisp/Makefile.in (update-gnus-news): New rule, containing a
procedure for building GNUS-NEWS.  The old procedure got lost
somehow when Gnus was merged into Emacs.

10 years agoSync with verilog-mode development tree.
Wilson Snyder [Wed, 23 Mar 2016 00:46:40 +0000 (20:46 -0400)]
Sync with verilog-mode development tree.

* lisp/progmodes/verilog-mode.el (verilog-imenu-generic-expression,
verilog-speedbar-initialize): Automatically add verilog-mode
extensions when in speedbar mode, bug1045, bug1046.  Reported by
David Shleifman.
(verilog-mode-map): Move `verilog-star-comment' from M-* to C-c/ to
avoid conflict with `pop-tag-mark'. Reported by Ian Perryman.
(verilog-read-always-signals-recurse): Fix :: notation for
auto-reset signals.  Reported by Andrew Jones.
(verilog-font-lock-grouping-keywords-face): Fix highlighting of
grouping keywords, bug1002. Reported by Paul Sargent.
(verilog-save-font-no-change-functions): Commentary and fix
pre-Emacs 21 behavior.

10 years agoCompute a better commit message for merges
Paul Eggert [Tue, 22 Mar 2016 23:42:28 +0000 (16:42 -0700)]
Compute a better commit message for merges

Problem reported by David Engster in:
http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg01270.html
* admin/gitmerge.el (gitmerge-commit-message):
Truncate the computed commit message to at most 72 characters per line.
(gitmerge-maybe-resume): Don’t use "-" as the commit message for
merges; use the computed commit message instead.

10 years ago* admin/gitmerge.el (gitmerge-skip-regexp): Add "no need to merge".
Paul Eggert [Tue, 22 Mar 2016 22:46:30 +0000 (15:46 -0700)]
* admin/gitmerge.el (gitmerge-skip-regexp): Add "no need to merge".

10 years ago; Backport ChangeLog.2 fixes from master
Paul Eggert [Tue, 22 Mar 2016 20:22:29 +0000 (13:22 -0700)]
; Backport ChangeLog.2 fixes from master

10 years agoChange do-not-merge pattern to "do not merge"
Paul Eggert [Tue, 22 Mar 2016 19:53:54 +0000 (12:53 -0700)]
Change do-not-merge pattern to "do not merge"

This should avoid the problem we recently had with
automatically-generated merge messages, while still letting people
specify commits not to merge.
* admin/gitmerge.el (gitmerge-skip-regexp): Add "do not merge".
(gitmerge-highlight-skip-regexp): Fold case when searching
for gitmerge-skip-regexp.

10 years ago; Remove unwanted merge from emacs-25
Michael Albinus [Tue, 22 Mar 2016 19:37:02 +0000 (20:37 +0100)]
; Remove unwanted merge from emacs-25

10 years agoMake `toggle-frame-maximized' respect the dock on OS X (bug#22988).
Anders Lindgren [Tue, 22 Mar 2016 19:18:33 +0000 (20:18 +0100)]
Make `toggle-frame-maximized' respect the dock on OS X (bug#22988).

* src/nsterm.m (ns_screen_margins): New function.
(ns_screen_margins_ignoring_hidden_dock): New function.
(ns_menu_bar_height): Reimplement in terms of `ns_screen_margins'.
([EmacsWindow zoom:]): Take all screen margins (except those
originating from a hidden dock) into account.

10 years agoFix bug in displaying header line with a box face
Eli Zaretskii [Tue, 22 Mar 2016 18:16:42 +0000 (20:16 +0200)]
Fix bug in displaying header line with a box face

* src/xdisp.c (get_next_display_element): Handle the case when a
display string acquires the box face from an underlying string,
not from the buffer.  (Bug#23091)

10 years ago; Fix etc/NEWS typo in recent merge.
Paul Eggert [Tue, 22 Mar 2016 18:09:47 +0000 (11:09 -0700)]
; Fix etc/NEWS typo in recent merge.

10 years agoMerge from origin/emacs-25
Paul Eggert [Tue, 22 Mar 2016 18:04:37 +0000 (11:04 -0700)]
Merge from origin/emacs-25

91e6676 Fix an Isearch var to be a string (Bug#23038)
76ef522 Fix (args-out-of-range 1) error in cursor-sensor--detect

10 years ago; Merge from origin/emacs-25
Paul Eggert [Tue, 22 Mar 2016 18:04:36 +0000 (11:04 -0700)]
; Merge from origin/emacs-25

The following commits were skipped:

8a35f83 Render empty <ul><li><ul> correctly
d8b2ce5 Ignore invalid base64 encoded embedded images
52ba24b Fix <p> and <div> newlines with or without <li> in shr

10 years ago-
Paul Eggert [Tue, 22 Mar 2016 18:04:36 +0000 (11:04 -0700)]
-

10 years ago; Merge from origin/emacs-25
Paul Eggert [Tue, 22 Mar 2016 18:01:30 +0000 (11:01 -0700)]
; Merge from origin/emacs-25

The following commit was skipped:

9ab03f2 ; Auto-commit of loaddefs files.

10 years ago-
Paul Eggert [Tue, 22 Mar 2016 18:01:30 +0000 (11:01 -0700)]
-

10 years agoKeep "merge" commits by default in gitmerge
Paul Eggert [Tue, 22 Mar 2016 17:52:54 +0000 (10:52 -0700)]
Keep "merge" commits by default in gitmerge

* admin/gitmerge.el (gitmerge-skip-regexp): Omit "merge", as it
causes false positives.  See:
http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg01234.html

10 years agoAssume NON_BLOCKING_CONNECT (Bug#22946)
Paul Eggert [Tue, 22 Mar 2016 08:17:56 +0000 (01:17 -0700)]
Assume NON_BLOCKING_CONNECT (Bug#22946)

* lisp/proced.el (proced-signal-list): Omit comment about
obsolete systems that do not support POSIX 1003.1-2001 signals.
* src/process.c (NON_BLOCKING_CONNECT): Remove, since we can now
assume POSIX 1003.1-2001 or better here.  Assume it’s defined.
(connect_network_socket): Assume EINPROGRESS is defined,
as that’s portable too now.
(Fmake_network_process): Use bool for boolean.

10 years agoFix problems caused by new implementation of sub-word mode
Eli Zaretskii [Tue, 22 Mar 2016 00:42:35 +0000 (17:42 -0700)]
Fix problems caused by new implementation of sub-word mode

* lisp/subr.el (forward-word-strictly, backward-word-strictly):
New functions.
(word-move-empty-char-table): New variable.

* etc/NEWS: Mention 'forward-word-strictly' and
'backward-word-strictly'.

* doc/lispref/positions.texi (Word Motion): Document
'find-word-boundary-function-table', 'forward-word-strictly', and
'backward-word-strictly'.  (Bug#22560)

* src/syntax.c (syms_of_syntax)
<find-word-boundary-function-table>: Doc fix.

* lisp/wdired.el (wdired-xcase-word):
* lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
(texinfo-copy-section-title, texinfo-start-menu-description)
(texinfo-copy-menu-title, texinfo-specific-section-type)
(texinfo-insert-node-lines, texinfo-copy-next-section-title):
* lisp/textmodes/texinfo.el (texinfo-clone-environment)
(texinfo-insert-@end):
* lisp/textmodes/texinfmt.el (texinfo-format-scan)
(texinfo-anchor, texinfo-multitable-widths)
(texinfo-multitable-item):
* lisp/textmodes/tex-mode.el (latex-env-before-change):
* lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
* lisp/skeleton.el (skeleton-insert):
* lisp/simple.el (count-words):
* lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
(vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
(vhdl-update-sensitivity-list, vhdl-template-block)
(vhdl-template-break, vhdl-template-case, vhdl-template-default)
(vhdl-template-default-indent, vhdl-template-for-loop)
(vhdl-template-if-then-use, vhdl-template-bare-loop)
(vhdl-template-nature, vhdl-template-procedural)
(vhdl-template-process, vhdl-template-selected-signal-asst)
(vhdl-template-type, vhdl-template-variable)
(vhdl-template-while-loop, vhdl-beginning-of-block)
(vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
* lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
(verilog-forward-sexp, verilog-beg-of-statement)
(verilog-set-auto-endcomments, verilog-backward-token)
(verilog-do-indent):
* lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
(vera-indent-block-closing):
* lisp/progmodes/simula.el (simula-context)
(simula-backward-up-level, simula-forward-down-level)
(simula-previous-statement, simula-next-statement)
(simula-skip-comment-backward, simula-calculate-indent)
(simula-find-if, simula-electric-keyword):
* lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
* lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
(ruby-smie--forward-token, ruby-smie--backward-token)
(ruby-singleton-class-p, ruby-calculate-indent)
(ruby-forward-sexp, ruby-backward-sexp):
* lisp/progmodes/ps-mode.el (ps-run-goto-error):
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
(perl-syntax-propertize-special-constructs)
(perl-backward-to-start-of-continued-exp):
* lisp/progmodes/pascal.el (pascal-indent-declaration):
* lisp/progmodes/octave.el (octave-function-file-p):
* lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
* lisp/progmodes/js.el (js--forward-function-decl):
* lisp/progmodes/idlwave.el (idlwave-show-begin-check)
(idlwave-beginning-of-block, idlwave-end-of-block)
(idlwave-block-jump-out, idlwave-determine-class):
* lisp/progmodes/icon.el (icon-is-continuation-line)
(icon-backward-to-start-of-continued-exp, end-of-icon-defun):
* lisp/progmodes/hideif.el (hide-ifdef-define):
* lisp/progmodes/f90.el (f90-change-keywords):
* lisp/progmodes/cperl-mode.el (cperl-electric-pod)
(cperl-linefeed, cperl-electric-terminator)
(cperl-find-pods-heres, cperl-fix-line-spacing)
(cperl-invert-if-unless):
* lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
* lisp/progmodes/cc-align.el (c-lineup-java-inher):
* lisp/progmodes/ada-mode.el (ada-compile-goto-error)
(ada-adjust-case-skeleton, ada-create-case-exception)
(ada-create-case-exception-substring)
(ada-case-read-exceptions-from-file, ada-after-keyword-p)
(ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
(ada-get-indent-if, ada-get-indent-block-start)
(ada-get-indent-loop, ada-get-indent-type)
(ada-search-prev-end-stmt, ada-check-defun-name)
(ada-goto-decl-start, ada-goto-matching-start)
(ada-goto-matching-end, ada-looking-at-semi-or)
(ada-looking-at-semi-private, ada-in-paramlist-p)
(ada-search-ignore-complex-boolean, ada-move-to-start)
(ada-move-to-end, ada-which-function, ada-gen-treat-proc):
* lisp/net/quickurl.el (quickurl-grab-url):
* lisp/mail/sendmail.el (mail-do-fcc):
* lisp/mail/rmail.el (rmail-resend):
* lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
* lisp/mail/mail-extr.el (mail-extract-address-components):
* lisp/json.el (json-read-keyword):
* lisp/files.el (insert-directory):
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
* lisp/completion.el (symbol-under-point, symbol-before-point)
(symbol-before-point-for-complete, next-cdabbrev)
(add-completions-from-c-buffer):
* lisp/cedet/semantic/texi.el (semantic-up-context)
(semantic-beginning-of-context):
* lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
use 'forward-word-strictly' and 'backward-word-strictly' instead
of 'forward-word' and 'backward-word'.

[This reapplies commit c1d32a65372c72d7de4808d620eefd3214a8e92a,
which was inadvertently lost by merge commit
c71e7cc113ed0d5f01aaa2e441a3e3c9fbeb9fa5.]

10 years ago* etc/TODO: Minor quoting and grammar fixes.
Paul Eggert [Tue, 22 Mar 2016 00:32:12 +0000 (17:32 -0700)]
* etc/TODO: Minor quoting and grammar fixes.

[This reapplies commit 433407d8230a8a256b26c6c7615d3921b43f59ce,
which was inadvertently lost by merge commit
5ab243f40e4db91586ff74b01a775a5218a1d5be.]

10 years agoDon't confuse "::" with ":" when trying to parse member initializers.
Alan Mackenzie [Fri, 15 Jan 2016 21:15:20 +0000 (21:15 +0000)]
Don't confuse "::" with ":" when trying to parse member initializers.

* lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
more robustly for ":" token when searching backwards for it.

* lisp/progmodes/cc-langs (c-:$-multichar-token-regexp): New language
variable.

[This reapplies commit 9e5452f7166e3634f2d8e943815ed722e1672714,
which was inadvertently lost by merge commit
7823745acbe9b87eea2db4ef434e379fc903ec35.]

10 years agoEnsure positive number of glyphs for margins of positive width
Eli Zaretskii [Fri, 15 Jan 2016 15:36:47 +0000 (17:36 +0200)]
Ensure positive number of glyphs for margins of positive width

* src/dispnew.c (margin_glyphs_to_reserve): Always return a
positive value when a non-zero width of the marginal area was
requested.  (Bug#22356)

[This reapplies commit 740849fe986b62a839bce4bbf67d0036fc1be0b9,
which was inadvertently lost by merge commit
7823745acbe9b87eea2db4ef434e379fc903ec35.]

10 years agoIn comment-dwim with style `extra-line', respect indent-tabs-mode.
Alan Mackenzie [Fri, 15 Jan 2016 12:32:32 +0000 (12:32 +0000)]
In comment-dwim with style `extra-line', respect indent-tabs-mode.

This fixes bug #22369.

* lisp/newcomment.el (comment-make-bol-ws): New function.
(comment-make-extra-lines): Use new function instead of a crude `make-string'.

[This reapplies commit 016b3d5894b8c424eab262aeefc646c6cd03a70a,
which was inadvertently lost by merge commit
7823745acbe9b87eea2db4ef434e379fc903ec35.]

10 years agoMerge doc fixes for 'random' lost in previous merge
Eli Zaretskii [Fri, 15 Jan 2016 09:47:55 +0000 (11:47 +0200)]
Merge doc fixes for 'random' lost in previous merge

[This reapplies part of commit
3ffe81e245d854a694ae1734f1b6a995bdc5e724,
which was inadvertently lost by merge commit
7823745acbe9b87eea2db4ef434e379fc903ec35.]
(Bug#22202)

10 years agoUnhide the --no-line-directive option to 'etags'
Eli Zaretskii [Fri, 15 Jan 2016 08:54:03 +0000 (10:54 +0200)]
Unhide the --no-line-directive option to 'etags'

* lib-src/etags.c (print_help): Un-undocument the --no-line-directive
option.  (Bug#22306)

* doc/man/etags.1: Document the --no-line-directive option.

[This reapplies commit fee0526a189f43e8470d78e8374bd425890fbe6f,
which was inadvertently lost by merge commit
7823745acbe9b87eea2db4ef434e379fc903ec35.]

10 years agoFix picture-mode wrt double-width characters
Alan J Third [Fri, 15 Jan 2016 08:26:10 +0000 (10:26 +0200)]
Fix picture-mode wrt double-width characters

* lisp/textmodes/picture.el (picture-insert): Check the width of
the character being replaced, not just that of the replacement.
(Bug#1808)

[This reapplies commit b70dba4e18514411ed38b5bbb846558158842ace,
which was inadvertently lost by merge commit
7823745acbe9b87eea2db4ef434e379fc903ec35.]

Copyright-paperwork-exempt: yes

10 years ago; * etc/NEWS: Remove unneeded text.
Eli Zaretskii [Fri, 15 Jan 2016 08:14:30 +0000 (10:14 +0200)]
; * etc/NEWS: Remove unneeded text.

[This reapplies commit 2bc07f7a2a4fb96b470576567a18240f363b4a3b,
which was inadvertently lost by merge commit
7823745acbe9b87eea2db4ef434e379fc903ec35.]

10 years agoFix an Isearch var to be a string (Bug#23038)
Kaushal Modi [Mon, 21 Mar 2016 23:28:27 +0000 (00:28 +0100)]
Fix an Isearch var to be a string (Bug#23038)

* isearch.el (isearch--describe-regexp-mode): The `description' var
  needs to always be a string.  Add the missing default case for the
  cond form that ensures that.

Before this bug fix, for the events when `regexp-function' and
`search-default-mode' both were nil, `description' also stayed nil.  So
when `space-before' was non-nil, the "non-string" `description'
(with a value of nil) got passed as an argument to
`replace-regexp-in-string' (where a string was expected).  That caused
the error described in Bug#23038.

10 years agoFix (args-out-of-range 1) error in cursor-sensor--detect
Leo Liu [Mon, 21 Mar 2016 10:26:10 +0000 (18:26 +0800)]
Fix (args-out-of-range 1) error in cursor-sensor--detect

* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
  hard-code (point-min) as 1 which fails in narrowed buffers.

10 years agoResurrect earlier fix of resize_frame_windows
Martin Rudalics [Sun, 20 Mar 2016 15:52:39 +0000 (16:52 +0100)]
Resurrect earlier fix of resize_frame_windows

* src/window.c (resize_frame_windows): Resurrect earlier fix for
calculating the number of columns of the minibuffer window which
was lost in subsequent merges.

10 years agoMove the cert files to the data directory
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 15:08:55 +0000 (16:08 +0100)]
Move the cert files to the data directory

10 years agoFurther empty <li> tweaks
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 14:15:32 +0000 (15:15 +0100)]
Further empty <li> tweaks

* lisp/net/shr.el (shr-tag-li): When showing several empty
<li> elements, ensure that they really get inserted on a new line.

10 years agoDon't remove too much white space at the end of documents
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 13:47:22 +0000 (14:47 +0100)]
Don't remove too much white space at the end of documents

* lisp/net/shr.el (shr--remove-blank-lines-at-the-end): Don't
remove too much white space -- leave it on the last line (in
case there's a background color).

10 years agoAmend parse-partial-sexp correctly to handle two character comment delimiters
Alan Mackenzie [Sun, 20 Mar 2016 13:19:48 +0000 (13:19 +0000)]
Amend parse-partial-sexp correctly to handle two character comment delimiters

Do this by adding a new field to the parser state: the syntax of the last
character scanned, should that be the first char of a (potential) two char
construct, nil otherwise.
This should make the parser state complete.
Also document element 9 of the parser state.  Also refactor the code a bit.

* src/syntax.c (struct lisp_parse_state): Add a new field.
(SYNTAX_FLAGS_COMSTARTEND_FIRST): New function.
(internalize_parse_state): New function, extracted from scan_sexps_forward.
(back_comment): Call internalize_parse_state.
(forw_comment): Return the syntax of the last character scanned to the caller
when that character might be the first of a two character construct.
(Fforward_comment, scan_lists): New dummy variables, passed to forw_comment.
(scan_sexps_forward): Remove a redundant state parameter.  Access all `state'
information via the address parameter `state'.  Remove the code which converts
from external to internal form of `state'.  Access buffer contents only from
`from' onwards.  Reformulate code at the top of the main loop correctly to
recognize comment openers when starting in the middle of one.  Call
forw_comment with extra argument (for return of syntax value of possible first
char of a two char construct).
(Fparse_partial_sexp): Document elements 9, 10 of the parser state in the
doc string.  Clarify the doc string in general.  Call
internalize_parse_state.  Take account of the new elements when consing up the
output parser state.

* doc/lispref/syntax.texi: (Parser State): Document element 9 and the new
element 10.  Minor wording corrections (remove reference to "trivial
cases").
(Low Level Parsing): Minor corrections.

* etc/NEWS: Note new element 10, and documentation of element 9 of parser
state.

10 years agoAllow the shr test files to have trailing blank space.
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 13:07:47 +0000 (14:07 +0100)]
Allow the shr test files to have trailing blank space.

* .gitattributes: Allow the shr test files to have trailing
blank space.

10 years agoAdd tests for empty <ul><li>
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 13:07:24 +0000 (14:07 +0100)]
Add tests for empty <ul><li>

10 years agoRender empty <ul><li><ul> correctly
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 12:52:36 +0000 (13:52 +0100)]
Render empty <ul><li><ul> correctly

* lisp/net/shr.el (shr-tag-ul): Render empty <ul><li><ul>
correctly (bug#22964).
(cherry picked from commit 4f6ea3988b66cf132c67fd0cc26d12eb9a300ba1)

Backport:

10 years ago* src/alloc.c (purecopy): Use AUTO_STRING.
Paul Eggert [Sun, 20 Mar 2016 12:56:42 +0000 (05:56 -0700)]
* src/alloc.c (purecopy): Use AUTO_STRING.

10 years agoIgnore invalid base64 encoded embedded images
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 12:57:11 +0000 (13:57 +0100)]
Ignore invalid base64 encoded embedded images

* lisp/net/shr.el (shr-image-from-data): Ignore invalid base64
encoded embedded images (bug#22928).
(cherry picked from commit f2da80d0e1ccd121c4891e869a45aeb9c6b1795d)

Backport:

10 years agoIgnore invalid base64 encoded embedded images
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 12:57:11 +0000 (13:57 +0100)]
Ignore invalid base64 encoded embedded images

* lisp/net/shr.el (shr-image-from-data): Ignore invalid base64
encoded embedded images (bug#22928).

10 years agoRender empty <ul><li><ul> correctly
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 12:52:36 +0000 (13:52 +0100)]
Render empty <ul><li><ul> correctly

* lisp/net/shr.el (shr-tag-ul): Render empty <ul><li><ul>
correctly (bug#22964).

10 years agoFix <p> and <div> newlines with or without <li> in shr
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 12:43:42 +0000 (13:43 +0100)]
Fix <p> and <div> newlines with or without <li> in shr

* lisp/net/shr.el (shr-ensure-newline): Respect that we're in
a <li>, if we are, and don't insert newlines there.
(shr-ensure-paragraph): When mixing newlines and paragraph
ensurements, don't insert too many blank lines.
(shr-tag-div): A <div> shouldn't introduce a paragraph, but a
new line.
(cherry picked from commit 292921facaff2f02ac4e8602c1f7ecbdcfe7ef45)

Backport:

10 years agoFix <p> and <div> newlines with or without <li> in shr
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 12:43:42 +0000 (13:43 +0100)]
Fix <p> and <div> newlines with or without <li> in shr

* lisp/net/shr.el (shr-ensure-newline): Respect that we're in
a <li>, if we are, and don't insert newlines there.
(shr-ensure-paragraph): When mixing newlines and paragraph
ensurements, don't insert too many blank lines.
(shr-tag-div): A <div> shouldn't introduce a paragraph, but a
new line.

10 years agoAdd more shr HTML rendering tests
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 12:41:59 +0000 (13:41 +0100)]
Add more shr HTML rendering tests

10 years agoAdd a test harness for shr HTML rendering and one test
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 11:55:36 +0000 (12:55 +0100)]
Add a test harness for shr HTML rendering and one test

10 years agoRemove code left over from when overlays were used for padding
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 11:54:24 +0000 (12:54 +0100)]
Remove code left over from when overlays were used for padding

* lisp/net/shr.el (shr-previous-newline-padding-width): Remove.
(shr-remove-trailing-whitespace): Ditto.
(shr-insert-document): Don't call them.

10 years agoRemove trailing blank lines in shr
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 11:52:28 +0000 (12:52 +0100)]
Remove trailing blank lines in shr

* lisp/net/shr.el (shr--remove-blank-lines-at-the-end): New function.
(shr-insert-document): Use it to remove trailing blank lines
at the end of documents, since these never seem to be very useful.

10 years agoDon't bug out on nil `patch-buf' arguments
Lars Magne Ingebrigtsen [Sun, 20 Mar 2016 11:12:27 +0000 (12:12 +0100)]
Don't bug out on nil `patch-buf' arguments

* lisp/vc/ediff.el (ediff-patch-file): Don't bug out on nil
`patch-buf' arguments.

10 years agoAdd a Catalan language environment
Ernest Adrogué [Sun, 20 Mar 2016 11:01:23 +0000 (12:01 +0100)]
Add a Catalan language environment

* international/mule-cmds.el (locale-language-names): Map locale
  language name `ca' to language environment `Catalan'.

* language/european.el: Add definition of language environment for
  the Catalan language.

* leim/quail/latin-pre.el: Add quail rule to the `catalan-prefix'
  input method to support input of middle dot characters through
  composition (bug#18279).

10 years agoNo need to block input when reading directories
Paul Eggert [Sun, 20 Mar 2016 01:44:15 +0000 (18:44 -0700)]
No need to block input when reading directories

* src/dired.c: Don’t include blockinput.h.
(open_directory, directory_files_internal_unwind)
(directory_files_internal, file_attributes):
Don’t block input here, as the reasons for blocking input should
no longer apply.  See blockinput.h FIXME.  (Bug#22996).

10 years agoAvoid errors in 'newline'
Eli Zaretskii [Sat, 19 Mar 2016 19:32:27 +0000 (21:32 +0200)]
Avoid errors in 'newline'

* lisp/simple.el (newline): Don't barf if invoked with
non-positive argument in the middle of a line.  (Bug#22490)

10 years ago* lisp/vc/vc-hooks.el: Fix typo
Oscar Fuentes [Sat, 19 Mar 2016 17:56:51 +0000 (18:56 +0100)]
* lisp/vc/vc-hooks.el: Fix typo

10 years agoFix Bug#23032
Michael Albinus [Sat, 19 Mar 2016 15:51:46 +0000 (16:51 +0100)]
Fix Bug#23032

* doc/misc/eshell.texi (Arguments): Mention the pipe symbol in
remote file names.  (Bug#23032)

10 years agoImprove w32notify notifications
Fabrice Popineau [Sat, 19 Mar 2016 12:44:53 +0000 (14:44 +0200)]
Improve w32notify notifications

* src/w32notify.c (DIRWATCH_BUFFER_SIZE): New macro.
(struct notification): 'terminate' is now a HANDLE.
(send_notifications): Argument is now a pointer to a
notification.  Don't loop waiting for the notification to be
acknowledged by the main thread; instead, just add the
notification to the linked list of notifications waiting to be
acknowledged.
(watch_end): Don't close the directory handle.
(watch_completion): Allocate a new notification structure to be
added to the notifications set.  Call ReadDirectoryChangesW
immediately after adding the new notification, and before sending
a message to the main thread about them.
(watch_worker): Don't loop calling ReadDirectoryChangesW; instead,
call it just once -- it will be called again in watch_completion.
Loop waiting for the main thread's indication to terminate.
(start_watching): Create the event to be used to indicate to the
worker thread that its should terminate.
(remove_watch): Indicate to the worker thread that it should
terminate.
* src/w32term.c (queue_notifications): Loop over all the
notifications in the linked list, processing all of them in one
go.
* src/w32inevt.c (handle_file_notifications): Loop over all the
notifications in the linked list.
* src/w32xfns.c (init_crit): Initialize the linked list of file
notifications.
(delete_crit): Free the linked list of file notifications,
including any unprocessed notifications left in it.
* src/w32term.h (struct notifications_se): New struct.

* test/lisp/filenotify-tests.el (file-notify-test02-events)
(file-notify-test05-dir-validity): Add read-event calls to
facilitate event recognition by the main thread in batch mode.

10 years agoAdjudicate review comments in abbrevs.texi
Eli Zaretskii [Sat, 19 Mar 2016 11:05:55 +0000 (13:05 +0200)]
Adjudicate review comments in abbrevs.texi

* doc/lispref/abbrevs.texi (Abbrev Files, Abbrev Expansion):
* doc/emacs/abbrevs.texi (Dabbrev Customization): State the
default values of variables.  Suggested by Steve Byrne
<sbb@penguinis.org>.  (Bug#23016)

* admin/release-process (Check manuals): Mark files reviewed by
Steve Byrne.

10 years agoFixup the "normal" matcher; highlight global var symbols, too
Dmitry Gutov [Fri, 18 Mar 2016 22:37:09 +0000 (00:37 +0200)]
Fixup the "normal" matcher; highlight global var symbols, too

* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
operator name symbols with the "normal" matcher (it actually
needed updating).  Highlight global variable symbols, too.

10 years ago; Small theme additions
Tassilo Horn [Fri, 18 Mar 2016 22:29:58 +0000 (23:29 +0100)]
; Small theme additions

10 years agoHonor prefix arg in doc-view-next-line-or-next-page
Marcin Borkowski [Mon, 14 Mar 2016 10:15:10 +0000 (11:15 +0100)]
Honor prefix arg in doc-view-next-line-or-next-page

* lisp/doc-view.el (doc-view-next-line-or-next-page): Take the
prefix argument into consideration when continuous scrolling is
not in effect (i.e., by default) (bug#19559).

10 years ago; Spelling fixes
Paul Eggert [Fri, 18 Mar 2016 15:54:49 +0000 (08:54 -0700)]
; Spelling fixes

10 years agoPort to strict C99 offsetof
Paul Eggert [Fri, 18 Mar 2016 15:42:15 +0000 (08:42 -0700)]
Port to strict C99 offsetof

* src/bidi.c (bidi_copy_it):
* src/lisp.h (CHAR_TABLE_EXTRA_SLOTS):
Use only a single identifier as the second argument of offsetof.
Found by using clang -pedantic.

10 years agoPort to GTK with strict C11 compiler
Paul Eggert [Fri, 18 Mar 2016 15:36:59 +0000 (08:36 -0700)]
Port to GTK with strict C11 compiler

* src/gtkutil.c (xg_create_frame_widgets, xg_toggle_notify_cb):
Cast from function type to void * where the C standard requires this.
This works around a problem in the prototypes for
g_signal_handler_find and g_signal_handlers_block_by_func, which
use gpointer instead of GCallback.  Found by using gcc -pedantic.

10 years agoPort to GTK with strict C99 compiler
Paul Eggert [Fri, 18 Mar 2016 06:45:02 +0000 (23:45 -0700)]
Port to GTK with strict C99 compiler

* src/emacsgtkfixed.c: Use workaround for GNOME bug 683906 only
in glib 2.35.6 and earlier, since the bug is fixed in 2.35.7.
* src/emacsgtkfixed.c (EmacsFixedPrivate):
* src/emacsgtkfixed.h (EmacsFixedClass):
Remove duplicate typedef, which strict C99 does not allow (Bug#23003).

10 years agoAvoid screen artifacts with new OS X visible bell after scrolling
Anders Lindgren [Thu, 17 Mar 2016 20:07:04 +0000 (21:07 +0100)]
Avoid screen artifacts with new OS X visible bell after scrolling

* src/nsterm.m (EmacsBell): Save NSView when displaying the
visible bell and set `needsDisplay' when removed.
(hide_bell): Trace.
(ns_copy_bits): Trace.

10 years agomake `vc-log-operation' buffer local to allow multiple simultaneous editing
Sam Steingold [Thu, 17 Mar 2016 19:42:15 +0000 (15:42 -0400)]
make `vc-log-operation' buffer local to allow multiple simultaneous editing

10 years agoMerge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
Michael Albinus [Thu, 17 Mar 2016 19:34:49 +0000 (20:34 +0100)]
Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25

10 years agoSuppress some Tramp tests for OSX, do not merge with master
Michael Albinus [Thu, 17 Mar 2016 19:33:51 +0000 (20:33 +0100)]
Suppress some Tramp tests for OSX, do not merge with master

* test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
(tramp--test-utf8): Use it.  (Bug#22145)

10 years ago* lisp/progmodes/xref.el (xref-buffer-name, xref--window):
Glenn Morris [Thu, 17 Mar 2016 16:55:09 +0000 (12:55 -0400)]
* lisp/progmodes/xref.el (xref-buffer-name, xref--window):
Move definitions before use.

10 years ago* lisp/gnus/mm-decode.el (gnus-format-message): Autoload it.
Glenn Morris [Thu, 17 Mar 2016 16:52:11 +0000 (12:52 -0400)]
* lisp/gnus/mm-decode.el (gnus-format-message): Autoload it.

; Do not merge to master.

10 years ago* lisp/mail/rmail.el (rmail-mime-entity-truncated): Declare.
Glenn Morris [Thu, 17 Mar 2016 16:04:51 +0000 (09:04 -0700)]
* lisp/mail/rmail.el (rmail-mime-entity-truncated): Declare.

10 years ago; Auto-commit of loaddefs files.
Glenn Morris [Thu, 17 Mar 2016 11:18:52 +0000 (07:18 -0400)]
; Auto-commit of loaddefs files.

10 years agoSimplify some rococo Gnus code that loads or tests for other libraries.
Glenn Morris [Thu, 17 Mar 2016 07:14:11 +0000 (00:14 -0700)]
Simplify some rococo Gnus code that loads or tests for other libraries.

* lisp/gnus/gnus-art.el (gnus-treat-ansi-sequences): Simplify default.
* lisp/gnus/mml-smime.el (epg): Simply require it.
(mml-smime-use): Simplify the default.  Doc fix.
* lisp/gnus/mml2015.el (epg-config): Require it.
(mml2015-use): Simplify the default.
* lisp/gnus/smime.el (password-cache): Simply require it.
(password-read-and-add): Remove declaration.

10 years agoAddress compilation warnings due to 2016-01-03 mml refactoring.
Glenn Morris [Thu, 17 Mar 2016 06:56:32 +0000 (23:56 -0700)]
Address compilation warnings due to 2016-01-03 mml refactoring.

* lisp/gnus/mml-sec.el (password-cache, mm-encode): Require.
(message-options-get): Autoload.
(message-options-set): Declare.
(mml-secure-cache-passphrase, mml-secure-passphrase-cache-expiry):
Simplify default value.
* lisp/gnus/mml-smime.el (message-options-set): Remove declaration.
* lisp/gnus/mml1991.el, lisp/gnus/mml2015.el:
No longer a need for password-cache.

10 years ago* lisp/emacs-lisp/smie.el (smie-indent-keyword): Don't burp in strings
Stefan Monnier [Thu, 17 Mar 2016 02:55:56 +0000 (22:55 -0400)]
* lisp/emacs-lisp/smie.el (smie-indent-keyword): Don't burp in strings

(bug#22960).

10 years ago* lisp/dired-x.el (dired-omit-here-always): Correct error message
Glenn Morris [Wed, 16 Mar 2016 21:38:27 +0000 (17:38 -0400)]
* lisp/dired-x.el (dired-omit-here-always): Correct error message
for 2016-01-25 change.

10 years ago* lisp/dired-x.el (dired-omit-here-always): Replace undefined function
Glenn Morris [Wed, 16 Mar 2016 21:36:57 +0000 (17:36 -0400)]
* lisp/dired-x.el (dired-omit-here-always): Replace undefined function
removed 2016-01-30.

; Do not merge to master.

10 years ago* lisp/xml.el (xml-parse-tag-1): Replace undefined function.
Glenn Morris [Wed, 16 Mar 2016 21:24:36 +0000 (17:24 -0400)]
* lisp/xml.el (xml-parse-tag-1): Replace undefined function.

; string-empty-p is defined in subr-x, but this file does not load it.

10 years agoAvoid segfaults due to frame image cache being absent
Eli Zaretskii [Wed, 16 Mar 2016 17:04:16 +0000 (19:04 +0200)]
Avoid segfaults due to frame image cache being absent

* src/image.c (cache_image): If the frame doesn't have an image
cache, create it.  (Bug#23028)

10 years agoImprove documentation of glyphless-character display
Eli Zaretskii [Wed, 16 Mar 2016 16:57:46 +0000 (18:57 +0200)]
Improve documentation of glyphless-character display

* doc/emacs/display.texi (Text Display): Document and index the
'glyphless-char' face.